from odoo import fields, models, api


class ProductCategory(models.Model):
    _inherit = 'product.category'

    limit_purchase = fields.Boolean(string='限制采购单位', help='采购单位类别必须与计量单位一致')
